#ifndef GLOBAL_H
#define GLOBAL_H



//PROCESS STATES
#define RUNNING     0
#define READY       1
#define INTERRUPTED 2
#define BLOCKED     3

//PROCESS TYPE
#define COMPUTE     0
#define IOBOUND     1
#define KEYBOARD    2
#define PRODUCER    3
#define CONSUMER    4

//request type
#define NOTHING     0
#define IO          1
#define SYNC        2

//ERRORS
#define NO_ERROR    0

#define TRUE        1
#define FALSE       0


typedef int bool;

#endif
